<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>我的试卷</title>
    <link rel="icon" href="/img/temp/favicon.ico"/>
    <link rel="stylesheet" href="../plugins/bootstrap/css/bootstrap.min.css"/>
    <link rel="stylesheet" href="../plugins/adminLTE/css/AdminLTE.css"/>
    <link rel="stylesheet" href="../plugins/adminLTE/css/skins/_all-skins.min.css"/>
    <!--	elementui-->
    <link rel="stylesheet" href="../js/plugins/elementui/index.css">
    <link rel="stylesheet" href="../js/plugins/font-awesome/css/font-awesome.min.css">

    <link rel="stylesheet" href="../css/style.css"/>
    <script src="../plugins/jQuery/jquery-2.2.3.min.js"></script>
    <script src="../plugins/bootstrap/js/bootstrap.min.js"></script>
    <script src="../js/vue.min.js"></script>
    <script src="../js/axios.min.js"></script>
    <script src="../js/pagination.js"></script>
    <!--	elementui-->
    <script src="../js/plugins/elementui/index.js"></script>
    <!--	基本增删改查-->
    <script src="../controller/testController.js"></script>
    <script src="../js/getParameter.js"></script>

</head>
<body class="hold-transition skin-red sidebar-mini">
<div id="app">
    <!-- .box-body -->
    <div class="box-header with-border">
        <h3 class="box-title"><a href="paper.html">我的试卷</a>->开始考试</h3>
    </div>
    <header>
        <div><h3 align="center"><strong>{{this.paperEntity.name}}</strong></h3></div>


        <div><h4 align="left" style="color: #0f321e">&nbsp;&nbsp;满分：{{this.maxScore}} &nbsp; &nbsp; &nbsp;  &nbsp; 您的得分：<font style="color: red; size: 100px">{{userScore}}</font><span id="remainDays"></span> </h4></div>
        <hr style="background-color:#f39c12;height: 5px;"/>
    </header>

    <div class="box-body">
        <div v-for="(entity,index) in questionList">
            <ol >
                <h3> <li  :value="index+1"><font style="font-family: 'STHupo'">{{entity.content}}<span ><img :id="entity.id"  style="width: 20px"></span></font></li></h3>
                 <!--<h3>{{entity.optionMap.A}}</h3>-->
                <input type="radio" :name="entity.id" value="A" @click="userAnswerListSave(entity.id,'A')"><label><h4><strong>{{entity.optionMap.A}}</strong></h4></label><br/>
                <input type="radio" :name="entity.id" value="B" @click="userAnswerListSave(entity.id,'B')"><label><h4><strong>{{entity.optionMap.B}}</strong></h4></label><br/>
                <input type="radio" :name="entity.id" value="C" @click="userAnswerListSave(entity.id,'C')"><label><h4><strong>{{entity.optionMap.C}}</strong></h4></label><br/>
                <input type="radio" :name="entity.id" value="D" @click="userAnswerListSave(entity.id,'D')"><label><h4><strong>{{entity.optionMap.D}}</strong></h4></label><br/>
                <div :id="index" style="display: none">
                    <h5><strong>答案：</strong>
                        <font style="font-family: Meiryo;color: red;size: A4 " >{{entity.answer}}</font></h5>
                    <h5><strong>原因：</strong>
                        <font style="font-family: Meiryo;color: #000838;size: A4 " >{{entity.reason}}</font></h5>
                </div>

            </ol>
        </div>
    </div>

    <footer>
         <br/>
         <br/>
         <br/>
         <div  style="text-align:center; width:100%;height:100%;margin:0px; ">
             <el-row>

                 <el-button  type="success"  @click="answerSubmit(questionList)" :disabled="isdisabled">提交成绩</el-button>
             </el-row>
         </div>
    </footer>
</div>
</body>
</html>